{% extends 'base/form_horizontal.html' %}
{% block flag %}playbooks{% endblock %}
{% block path %}
    <a href="{% url 'playbooks:list' %}" title="" class="tip-bottom"> 剧本管理</a>
    <a href="" title="" class="tip-bottom"> 管理编辑</a>
{% endblock %}
{% block headcontent %}
    <ul class="nav nav-tabs">
        <li role="presentation" class="active"><a href="">管理编辑</a></li>
        {% if pbid %}
        <li role="presentation"><a href="{% url 'playbooks:file_list'%}?pbid={{ pbid }}">版本列表</a></li>
        <li role="presentation"><a href="{% url 'playbooks:detail' pk=pbid%}">剧本运行</a></li>
        {% endif %}

    </ul>
{% endblock %}
{% block footjs %}
    <script type="text/javascript" src="/static/uploadify/jquery.uploadify.min.js"></script>
    <script type="text/javascript" src="/static/uploadify/uploadify_file.js"></script>
{#    <script type="text/javascript" src="/static/uploadify/uploadimg.js"></script>#}
{% endblock %}
{#<div class="col-sm-4">#}
{#    <input type="text" name="path" value="/home/hcx/workspace/autodeploy/autodeploy/uplod/task/information" title="" upimginfo="image,0,0" required="" id="id_path" readonly="readOnly" maxlength="1000" placeholder="剧本路径" class="form-control imginput">#}
{#    <div style="display:inline;"><a class="btn btn-default" onclick="upload_iframe(this,'image',0,0)">#}
{#        <span class="glyphicon glyphicon-upload" aria-hidden="true"></span>#}
{#        上传图片</a>&nbsp;<a class="btn btn-default" onclick="delete_img(this)">清除图片</a>#}
{#        <span name="" class="upimg">/home/hcx/workspace/autodeploy/autodeploy/uplod/task/information</span>#}
{#    </div>#}
{#    <div class="preview_img"><br>#}
{#        <img width="100px" src="/home/hcx/workspace/autodeploy/autodeploy/uplod/task/information?2014">#}
{#    </div>#}
{#</div>#}